Use setSelectorText() method with row position property
grid.setSelectorText(function(r){return this.getRowPosition(r)+1}); // show row numbers
Back to row selector examples, all examples